const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  realname: state => state.user.realname,
  roles: state => state.user.userRoles,
  menucodes: state => state.user.userMenuCodes,
  pageauths: state => state.user.userPageAuths,
  usermenus: state => state.user.menus
}
export default getters
